dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecadaee
)
SpecialBotPasswords: Use LinkRenderer instead of Linker::link()
author
Kunal Mehta
<legoktm@member.fsf.org>
Wed, 1 Jun 2016 03:38:10 +0000
(20:38 -0700)
committer
Siebrand
<siebrand@kitano.nl>
Thu, 23 Jun 2016 12:13:34 +0000
(12:13 +0000)
Change-Id: I939c3d639d8efc0a2f838cf12ff18c9e9795f114
includes/specials/SpecialBotPasswords.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialBotPasswords.php
b/includes/specials/SpecialBotPasswords.php
index
1027f1f
..
7e330aa
100644
(file)
--- a/
includes/specials/SpecialBotPasswords.php
+++ b/
includes/specials/SpecialBotPasswords.php
@@
-162,6
+162,7
@@
class SpecialBotPasswords extends FormSpecialPage {
];
} else {
+ $linkRenderer = $this->getLinkRenderer();
$dbr = BotPassword::getDB( DB_SLAVE );
$res = $dbr->select(
'bot_passwords',
@@
-174,12
+175,9
@@
class SpecialBotPasswords extends FormSpecialPage {
'section' => 'existing',
'type' => 'info',
'raw' => true,
- 'default' =>
Linker::l
ink(
+ 'default' =>
$linkRenderer->makeKnownL
ink(
$this->getPageTitle( $row->bp_app_id ),
- htmlspecialchars( $row->bp_app_id ),
- [],
- [],
- [ 'known' ]
+ $row->bp_app_id
),
];
}